image: Indentation fix
authorTimm Bäder <mail@baedert.org>
Sun, 30 Dec 2018 19:25:21 +0000 (20:25 +0100)
committerTimm Bäder <mail@baedert.org>
Mon, 31 Dec 2018 11:44:02 +0000 (12:44 +0100)
gtk/gtkimage.c

index 8acceb12e9fc95bf4666f909c903ac511ab1b3e4..1546256341fcaab869df04f3d53fd148568d5140 100644 (file)
@@ -1100,16 +1100,16 @@ gtk_image_snapshot (GtkWidget   *widget,
     {
       double image_ratio = (double) width / height;
 
-    if (ratio > image_ratio)
-      {
-        w = width;
-        h = width / ratio;
-      }
-    else
-      {
-        w = height * ratio;
-        h = height;
-      }
+      if (ratio > image_ratio)
+        {
+          w = width;
+          h = width / ratio;
+        }
+      else
+        {
+          w = height * ratio;
+          h = height;
+        }
 
       x = (width - ceil (w)) / 2;